<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>My first three.js app</title>
	<style>
    body {
      margin: 0;
    }
    .button {
      margin: 2rem;
      background: url('/assets/btn.png') center/100% 100% no-repeat;
      width: 30px;
      height: 30px;
    }
	</style>
</head>

<body>
  <div class="button"></div>
	<script type="module">
		import * as THREE from "/three.module.js";
    import * as GSAP from "/gsap.mjs";
    gsap.to(document.getElementsByClassName('button')[0], { x: -10, duration: 5 });
	</script>
</body>

</html>

